  /**
   * Generate time : 2016-04-26 20:58:42
   * Version : 1.0.1.V20070717
   */
package com.baosight.sczx.zm.ck.domain;

import com.baosight.iplat4j.core.ei.EiColumn;
import com.baosight.iplat4j.ep.DaoEPBase;
import java.util.HashMap;
import java.util.Map;
import com.baosight.iplat4j.util.StringUtils;
/**
 * ZMCKTCCR 
 * table comment : 停产撤人方案主表 
 */
public class ZMCKTCCR extends DaoEPBase {

	private String fdKeyId = " ";		/* 主键*/
	private String fdMiningName = " ";		/* 矿井名称*/
	private String fdMiningId = " ";		/* 矿井id*/
	private String fdStatus = "草拟";		/* 状态*/
	private String fdCurrentDate = " ";		/* 当前日期*/
	private String fdReportTime = " ";		/* 汇报时间*/
	private String fdReportPerson = " ";		/* 汇报人*/
	private String fdName = " ";		/* 停产撤人方案名称*/
	private String fdSsfa = " ";		/* 停产撤人实施方案*/
	private String fdYjya = " ";		/* 停产撤人应急预案*/
	private String fdBzlx = " ";		/* 停产撤人避灾路线*/
	private String fdZj = " ";		/* 停产撤人执行情况总结*/
	/**
	 * initialize the metadata 
	 */
	public void initMetaData() {
		EiColumn eiColumn;
		
	eiColumn = new EiColumn("fdKeyId");
	eiColumn.setPrimaryKey(true);
	eiColumn.setFieldLength(32);	
	eiColumn.setDescName("主键");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdMiningName");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("矿井名称");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdMiningId");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("矿井id");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdStatus");
	eiColumn.setFieldLength(6);	
	eiColumn.setDescName("状态");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdCurrentDate");
	eiColumn.setFieldLength(10);	
	eiColumn.setDescName("当前日期");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdReportTime");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("汇报时间");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdReportPerson");
	eiColumn.setFieldLength(20);	
	eiColumn.setDescName("汇报人");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdName");
	eiColumn.setFieldLength(50);	
	eiColumn.setDescName("停产撤人方案名称");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdSsfa");
	eiColumn.setFieldLength(500);	
	eiColumn.setDescName("停产撤人实施方案");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdYjya");
	eiColumn.setFieldLength(500);	
	eiColumn.setDescName("停产撤人应急预案");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdBzlx");
	eiColumn.setFieldLength(500);	
	eiColumn.setDescName("停产撤人避灾路线");
	eiMetadata.addMeta(eiColumn);
	
	eiColumn = new EiColumn("fdZj");
	eiColumn.setFieldLength(500);	
	eiColumn.setDescName("停产撤人执行情况总结");
	eiMetadata.addMeta(eiColumn);
	

	}
	/**
	 * the constructor
	 */
	public ZMCKTCCR() {
		initMetaData();
	}
	
	/**
	 * get the fdKeyId - 主键
	 * @return the fdKeyId
	 */
	public String getFdKeyId() {
		return this.fdKeyId;
	}
	
	/**
	 * set the fdKeyId - 主键
	 */
	public void setFdKeyId(String fdKeyId) {
		this.fdKeyId = fdKeyId;
	}
	/**
	 * get the fdMiningName - 矿井名称
	 * @return the fdMiningName
	 */
	public String getFdMiningName() {
		return this.fdMiningName;
	}
	
	/**
	 * set the fdMiningName - 矿井名称
	 */
	public void setFdMiningName(String fdMiningName) {
		this.fdMiningName = fdMiningName;
	}
	/**
	 * get the fdMiningId - 矿井id
	 * @return the fdMiningId
	 */
	public String getFdMiningId() {
		return this.fdMiningId;
	}
	
	/**
	 * set the fdMiningId - 矿井id
	 */
	public void setFdMiningId(String fdMiningId) {
		this.fdMiningId = fdMiningId;
	}
	/**
	 * get the fdStatus - 状态
	 * @return the fdStatus
	 */
	public String getFdStatus() {
		return this.fdStatus;
	}
	
	/**
	 * set the fdStatus - 状态
	 */
	public void setFdStatus(String fdStatus) {
		this.fdStatus = fdStatus;
	}
	/**
	 * get the fdCurrentDate - 当前日期
	 * @return the fdCurrentDate
	 */
	public String getFdCurrentDate() {
		return this.fdCurrentDate;
	}
	
	/**
	 * set the fdCurrentDate - 当前日期
	 */
	public void setFdCurrentDate(String fdCurrentDate) {
		this.fdCurrentDate = fdCurrentDate;
	}
	/**
	 * get the fdReportTime - 汇报时间
	 * @return the fdReportTime
	 */
	public String getFdReportTime() {
		return this.fdReportTime;
	}
	
	/**
	 * set the fdReportTime - 汇报时间
	 */
	public void setFdReportTime(String fdReportTime) {
		this.fdReportTime = fdReportTime;
	}
	/**
	 * get the fdReportPerson - 汇报人
	 * @return the fdReportPerson
	 */
	public String getFdReportPerson() {
		return this.fdReportPerson;
	}
	
	/**
	 * set the fdReportPerson - 汇报人
	 */
	public void setFdReportPerson(String fdReportPerson) {
		this.fdReportPerson = fdReportPerson;
	}
	/**
	 * get the fdName - 停产撤人方案名称
	 * @return the fdName
	 */
	public String getFdName() {
		return this.fdName;
	}
	
	/**
	 * set the fdName - 停产撤人方案名称
	 */
	public void setFdName(String fdName) {
		this.fdName = fdName;
	}
	/**
	 * get the fdSsfa - 停产撤人实施方案
	 * @return the fdSsfa
	 */
	public String getFdSsfa() {
		return this.fdSsfa;
	}
	
	/**
	 * set the fdSsfa - 停产撤人实施方案
	 */
	public void setFdSsfa(String fdSsfa) {
		this.fdSsfa = fdSsfa;
	}
	/**
	 * get the fdYjya - 停产撤人应急预案
	 * @return the fdYjya
	 */
	public String getFdYjya() {
		return this.fdYjya;
	}
	
	/**
	 * set the fdYjya - 停产撤人应急预案
	 */
	public void setFdYjya(String fdYjya) {
		this.fdYjya = fdYjya;
	}
	/**
	 * get the fdBzlx - 停产撤人避灾路线
	 * @return the fdBzlx
	 */
	public String getFdBzlx() {
		return this.fdBzlx;
	}
	
	/**
	 * set the fdBzlx - 停产撤人避灾路线
	 */
	public void setFdBzlx(String fdBzlx) {
		this.fdBzlx = fdBzlx;
	}
	/**
	 * get the fdZj - 停产撤人执行情况总结
	 * @return the fdZj
	 */
	public String getFdZj() {
		return this.fdZj;
	}
	
	/**
	 * set the fdZj - 停产撤人执行情况总结
	 */
	public void setFdZj(String fdZj) {
		this.fdZj = fdZj;
	}
	/**
	 * get the value from Map
	 */
	public void fromMap(Map map) {
	
		setFdKeyId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdKeyId")), fdKeyId));
		setFdMiningName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMiningName")), fdMiningName));
		setFdMiningId(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdMiningId")), fdMiningId));
		setFdStatus(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdStatus")), fdStatus));
		setFdCurrentDate(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdCurrentDate")), fdCurrentDate));
		setFdReportTime(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdReportTime")), fdReportTime));
		setFdReportPerson(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdReportPerson")), fdReportPerson));
		setFdName(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdName")), fdName));
		setFdSsfa(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdSsfa")), fdSsfa));
		setFdYjya(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdYjya")), fdYjya));
		setFdBzlx(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdBzlx")), fdBzlx));
		setFdZj(StringUtils.defaultIfEmpty(StringUtils.toString(map.get("fdZj")), fdZj));
	}
	
	/**
	 * set the value to Map
	 */
	public Map toMap() {
		
		Map map = new HashMap();
			map.put("fdKeyId",StringUtils.toString(fdKeyId, eiMetadata.getMeta("fdKeyId")));	
			map.put("fdMiningName",StringUtils.toString(fdMiningName, eiMetadata.getMeta("fdMiningName")));	
			map.put("fdMiningId",StringUtils.toString(fdMiningId, eiMetadata.getMeta("fdMiningId")));	
			map.put("fdStatus",StringUtils.toString(fdStatus, eiMetadata.getMeta("fdStatus")));	
			map.put("fdCurrentDate",StringUtils.toString(fdCurrentDate, eiMetadata.getMeta("fdCurrentDate")));	
			map.put("fdReportTime",StringUtils.toString(fdReportTime, eiMetadata.getMeta("fdReportTime")));	
			map.put("fdReportPerson",StringUtils.toString(fdReportPerson, eiMetadata.getMeta("fdReportPerson")));	
			map.put("fdName",StringUtils.toString(fdName, eiMetadata.getMeta("fdName")));	
			map.put("fdSsfa",StringUtils.toString(fdSsfa, eiMetadata.getMeta("fdSsfa")));	
			map.put("fdYjya",StringUtils.toString(fdYjya, eiMetadata.getMeta("fdYjya")));	
			map.put("fdBzlx",StringUtils.toString(fdBzlx, eiMetadata.getMeta("fdBzlx")));	
			map.put("fdZj",StringUtils.toString(fdZj, eiMetadata.getMeta("fdZj")));	
			
		return map;
	
	}
}